<template>
  <div class="test" ref="wrapper">
    <ul class="">
      <li>123</li>
      <li>123</li>
      <li>123</li>
      <li>123</li>
      <li>123</li>
      <li>123</li>
      <li>123</li>
      <li>123</li>
      <li>123</li>
    </ul>
  </div>
</template>
<script>
import BScroll from 'better-scroll'
export default {
  created () {
    console.log(this.$config)
  },
  components: {
  },
  mounted () {
    this.$nextTick(() => {
      this.scroll = new BScroll(this.$refs.wrapper, {})
    })
  }
}
</script>
<style lang="scss" scoped>
  .test {
    background: #ccc;
    height: 300px;
    ul {
      li {
        width: 100px;
        height: 100px;
        background-color: red;
      }
    }
  }
</style>
